package com.xlhl.init.anno;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xlhl.init.common.BaseRequestBody;

import java.lang.annotation.*;

/**
 * 标注  数据库表对应 Entity 不查询某些字段
 * <p>
 * 仅在通过:
 * <p>
 * {@link com.xlhl.init.common.QueryWrapperService#getQueryWrapperFilterByNotSelect(BaseRequestBody, Class)}
 * <p>
 * {@link com.xlhl.init.common.QueryWrapperService#getQueryWrapperFilterByNotSelect(QueryWrapper, Class)}
 * <p>
 * 方法获取 QueryWrapper 时生效
 *
 * @author xlhl
 */
@Documented
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotSelect {

}